﻿<controls:ChildWindow x:Class="SGTLightAccent.Views.NuevoProductoWindow"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="400" Height="300" 
           
           DataContext="{Binding Main, Source={StaticResource Locator}}" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition Height="229*" />
            <RowDefinition Height="32" />
        </Grid.RowDefinitions>

        <Button x:Name="CancelButton" Content="Guardar" Click="CancelButton_Click" Width="75" Height="32" HorizontalAlignment="Right" Grid.Row="1" Command="{Binding Path=BotonGuardarProducto}" />
        <Button x:Name="OKButton" Content="Cancelar" Click="OKButton_Click" Width="75" Height="32" HorizontalAlignment="Left" Margin="225,0,0,0" Grid.Row="1" />
        <sdk:Label Content="Producto:" FontWeight="Bold" Height="28" HorizontalAlignment="Right" HorizontalContentAlignment="Right" Margin="0,87,218,0" Name="labeld1" VerticalAlignment="Top" Width="75" />
        <TextBox Height="28" HorizontalAlignment="Left" Margin="166,87,0,0" Name="textBox1" VerticalAlignment="Top" Width="150" Text="{Binding Path=ProductoNuevo.Nombre, Mode=TwoWay}" />
    </Grid>
</controls:ChildWindow>